<template>
    <div>this id a demo<br/>{{msg}}<br/><cmp1 content="ttttt" v-on:cmp1s='cmp1s'>slot abcdef</cmp1></div>
</template>

<script>
import cmp1 from './cmp1'
export default {
  name: 'mydemo',
  components: {cmp1},
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  methods: {
    cmp1s: function (enlargeAmount) {
      console.log(enlargeAmount)
      alert('cmp1s')
    }
  }
}
</script>

<style scoped>

</style>
